<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <input v-model="msg" />
        <input :value="msg" @input="msg=$event.target.value" />
        <p>{{msg}}</p>
    </div>
    <script src="./node_modules/vue/dist/vue.js"></script>
    <script>
        var vm = new Vue({
            el:'#app',
            data:{
                msg:'hello vue'
            },
            methods:{
                
            }
        })


        // var a = 1
        // a = a + 1 
        // a++ 
    </script>
</body>
</html>
